package com.lswms.modules.lswms.service.check;

import java.util.List;
import java.util.Map;

import com.lswms.common.page.PageData;
import com.lswms.common.service.CrudService;
import com.lswms.modules.lswms.dto.check.CheckdetailDTO;
import com.lswms.modules.lswms.entity.check.CheckdetailEntity;

/**
 * 盘点明细
 *
 * @author DX sunlightcs@gmail.com
 * @since 1.0.0 2021-07-08
 */
public interface CheckdetailService extends CrudService<CheckdetailEntity, CheckdetailDTO> {

	void editUpdate(List<CheckdetailDTO> dtolist);

	List<CheckdetailEntity> getByTray(String tray);

	Map<String, Object> getcheckdetailKeyAndLocationByTray(String tray);

	String saveCheckdetailIn(CheckdetailEntity dto);

	String putCheckdetailSave(List<CheckdetailEntity> dtos);

	PageData<CheckdetailEntity> pageBySql(Map<String, Object> params);

	String putCheckdetailSaveUniquecodes(CheckdetailEntity dto);

	String valideAndDelete(Long[] ids);

	List<CheckdetailEntity> listBySql(Map<String, Object> params);

	String putCheckdetailSave2(List<CheckdetailEntity> dtos);

}